import request from '@/utils/request'

// 用户注册
export const register = (data) => {
  return request.post('/user/registered', data)
}
// 用户登入
export const login = (data) => {
  return request.post('/user/login', data)
}
